package engine.systems.control.keyboardControl
{
	import ash.core.Component;
	
	import flash.ui.Keyboard;
	
	public class KeyboardControl extends Component
	{
		public var locked:Boolean;
		
		public var up:uint;
		public var down:uint;
		public var left:uint;
		public var right:uint;
		
		public var rate:Number;
		
		public function KeyboardControl(up:uint = Keyboard.W, down:uint = Keyboard.S, left:uint = Keyboard.A, right:uint = Keyboard.D, rate:Number = 300, locked:Boolean = false)
		{
			this.up 	= up;
			this.down 	= down;
			this.left 	= left;
			this.right 	= right;
			this.rate 	= rate;
		}
	}
}